package com.ruoyi.mhrb.platform.service;

import java.util.List;
import com.ruoyi.mhrb.platform.domain.MhrbCarouselMap;

/**
 * 轮播图配置Service接口
 *
 * @author jhrb
 * @date 2024-11-25
 */
public interface IMhrbCarouselMapService
{
    /**
     * 查询轮播图配置
     *
     * @param mapId 轮播图配置主键
     * @return 轮播图配置
     */
    public MhrbCarouselMap selectMhrbCarouselMapByMapId(Long mapId);

    /**
     * 查询轮播图配置列表
     *
     * @param mhrbCarouselMap 轮播图配置
     * @return 轮播图配置集合
     */
    public List<MhrbCarouselMap> selectMhrbCarouselMapList(MhrbCarouselMap mhrbCarouselMap);

    /**
     * 新增轮播图配置
     *
     * @param mhrbCarouselMap 轮播图配置
     * @return 结果
     */
    public int insertMhrbCarouselMap(MhrbCarouselMap mhrbCarouselMap);

    /**
     * 修改轮播图配置
     *
     * @param mhrbCarouselMap 轮播图配置
     * @return 结果
     */
    public int updateMhrbCarouselMap(MhrbCarouselMap mhrbCarouselMap);

    /**
     * 批量删除轮播图配置
     *
     * @param mapIds 需要删除的轮播图配置主键集合
     * @return 结果
     */
    public int deleteMhrbCarouselMapByMapIds(Long[] mapIds);

    /**
     * 删除轮播图配置信息
     *
     * @param mapId 轮播图配置主键
     * @return 结果
     */
    public int deleteMhrbCarouselMapByMapId(Long mapId);
}
